//
//  IOTCContact.h
//  Contacts
//
//  Created by User-16 on 3/14/14.
//  Copyright (c) 2014 IOTrainingCamp. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "GoogleOAuth.h"

@interface IOTCTask : NSObject<GoogleOAuthDelegate>

@property(retain, readonly) NSString* description;
@property (readonly) bool isDone;
@property (retain) NSDate* startDate;
@property (retain) NSDate* endDate;

//designated initializer
- (id)initWithTaskDescription:(NSString*) description;

-(void) finish;
-(void) resetUnfinished;

// returns Start: <task start time in short format or NA> End: <task end time in short format or NA>
-(NSString*) startAndEndTimeDescription;

-(void) setLocalNotification;
-(void) cancelNotification;

@end
